<template>
    <up-navbar :title="title" :placeholder="placeholder" :bgColor="bgColor" :titleColor="color">
        <template #left>
            <uni-icons type="left" size="20" :color="color" @click="backpage" v-if="isback"></uni-icons>
        </template>
    </up-navbar>
</template>

<script setup>
import { backpage } from '@/utils/util.js'

defineProps({
    title: {
        type: String,
        default: ''
    },
    placeholder: {
        type: Boolean,
        default: true
    },
    bgColor: {
        type: String,
        default: '#fff'
    },
    color: {
        type: String,
        default: '#333'
    },
    isback: {
        type: Boolean,
        default: true
    }
})
</script>

<style>
</style>